package com.icangya.DAO;

import com.icangya.domain.UserPointsRecord;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUserPointsRecordDAO extends IBaseDAO<UserPointsRecord> {

    /**
     * 根据用户id 去查询积分明细
     * @param userId
     * @param pageNum
     * @return
     */
    List<Object> getPointsRecordByUserId(Long userId , Integer pageNum);

}
